home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
3D Images
/
3D Images.iso
/
c
/
showobj.doc
< prev
next >
Wrap
Text File
|
1995-02-11
|
7KB
|
198 lines
---------------------------------------------------------------------------
Showobj V2.1
An Imagine TDDD-object and LightWave LWOB-object displayer.
Copyright 1994,95 by Andreas Heumann.
All Rights reserverd.
---------------------------------------------------------------------------
Requirements
============
Showobj requires at least OS 2.0, nevertheless it should run on any machine
with any processor.
Tested with:
A2000 4Mb 68030/882 ECS
A2000 9Mb 60040, Merlin Gfx Board
Introduction
============
Showobj takes a file in Imagine's TDDD (3D data description) or in
LightWave's LWOB format and displays it's contents in a window on a public
screen, or if no is given on Workbench. If no filename is given, the
program will ask for it with a filerequester.
Showobj can display the objects in three different modes:
- boundingbox mode
- wireframe mode
- solid mode
Four views can be selected:
- front view
- right view
- top view
- perspective view
In perspective view the object can be rotated with the mouse while
pressing the left mouse button, and zoomed while pressing the right
button
In front, right and top view it can be moved with mouse while pressing
the left button.
With the cursor keys in object is moved in front, right and top view,
and rotated in perspective view.
It`s possible to track the Camera in perspective mode to the objects,
and get information about them. Objects tracking to are drawed in a
different color.
Solid mode is realized with a Z-Buffer algorithm which will take a large
amount of memory in high resolution modes (655kByte with 640x256,
1,8Mb with 800x600 and 3Mb with 1024x768).
If there's not enough memory available the window is divided into stripes.
Inputs
======
TDDD: Can read and display:
- normal Objects saved in detail editor
- perfect spheres
- grounds
Can't read and display:
- Lamps
- Others than the first state of a state-object
- Others than the first state of a cycle-object
- Paths
- Objects saved in forms or spline editor
LWOB: Can't diplay polygons with more than four points (rectangles)
in shaded mode.
Usage
=====
showobj [verbose] [pubscreen <name>] filename
With:
verbose verbose mode, displays information about file
TDDD: names of Objects; amount of objects, faces, edges and points
LWOB: names of Surfaces; amount of surfaces, faces, edges and points
pubscreen opens showobj window on given pubscreen
filename name of the TDDD-file which is displayed, if no name is given
a filerequester appears.
This keys can be used while displaying the object:
ESC - Quit
HELP - Showes keys used by showobj
a - Showes informations about object
w - Switches wireframe mode on
b - Switches bounding box on
s - Switches solid mode on
f - Switches to front view
r - Switches to right view
t - Switches to top view
p - Switches to perspective view
i - Zoomes in
o - Zoomes out
n - Track to next object
Cursorkeys to move in front, right and top view and to rotate in
perspective view
Disclaimer
==========
Standard disclaimer:
THERE IS NO WARRANTY FOR THIS PROGRAM TO THE EXTENT PERMITTED BY APPLICABLE
LAW. EXCEPT WHERE OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDER AND/OR
OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.
SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
SERVICING, REPAIR OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY REDISTRIBUTE THE PROGRAM
AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL,
SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR
DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES
OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
Copyright
=========
Showobj 2.0 is Copyright 1994 by Andreas Heumann. All Rights Reserved. It is
released under the concept of `Cardware'. So if you like it please send me
a postcard of your city. It has never been, nor will it ever be in the
`Public Domain'.
The archive may only be distributed in unmodified form. No files may be
added, changed or removed. You may not charge for this archive, other than
the cost of the media and duplication fees. Distribution is allowed in all
forms, such as BB systems, floppy or compact disks, and ftp sites.
Any inclusion in a commercial, semi-commercial or Shareware distribution
requires the written permission of the author.
History
=======
07.06.1994 first public release (1.0)
12.09.1994 added asl filerequester (1.01)
03.10.1994 added solid mode (1.02)
09.11.1994 added perspective mode (1.03)
02.12.1994 added z-buffer (YEAH!!) (1.1)
15.12.1994 z-buffer now works with stripes (1.11)
16.12.1994 added perfect sphere and ground (with SHP2- and SHAP-Chunk)
18.12.1994 some minor changes, cleanup (2.0)
26.12.1994 fixed bug in perpective mode (problems with large objects)
moving objects with mouse in FRONT-,RIGHT- and TOP-view is now
possible
31.12.1994 added LightWave support (2.1)
02.01.1995 solid mode is now more than twice as fast
little speedup in perspective wireframe and boundingbox mode (10%)
02.01.1995 object is now automatically placed in the middle of the screen
05.01.1995 little bugfix; test if object outside was wrong
11.01.1995 added rectangles for ligtwave objects
object is now automatically zommed to fit best on screen
Author
======
For bug reports, comments, suggestions ... you can contact me at the
following address.
Andreas Heumann
Heilmeyersteige 105
89075 Ulm
Germany
E-Mail: heumann@hugo.rz.fh-ulm.de
Thanks
======
Special thanks goes to:
Massimo Tofani
Alessio Cappelli
for their postcards and suggestions,
Christian Geisert
for writing through E-Mail, and
Nigel Critten
for the description of the LightWave format.
Also thanks to Mike Hesser for help and motivation and to Stephan Dorenkamp
for testing.
Planed for the future
=====================
- 16 color grayscale solid
- speed up (hope to get new compiler soon)